<%@ Control Language="c#" AutoEventWireup="false" Codebehind="DefaultPermissionListAdminControl.ascx.cs" Inherits="CommunityServer.ControlPanel.Forums.DefaultPermissionListAdminControl" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="CA" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %>
<script type="text/javascript">
function onCallbackError(excString)
{
	if (confirm('<%= CommunityServer.ControlPanel.Components.ResourceManager.GetString("CP_CallBackWarning") %>')) alert(excString); 
	<%= Grid1.ClientID %>.Page(1); 
}
</script>

<div id="GrayGrid">
<ca:grid id="Grid1" runat="server">
	<levels>
		<ca:gridlevel datakeyfield="RoleIDString">
			<columns>
				<ca:gridcolumn AllowEditing="False" datafield="Name" headingtext="ResourceManager.CP_Forums_GridCol_Name" />
				<ca:gridcolumn columntype="CheckBox" datafield="Edit" headingtext="ResourceManager.CP_PermissionList_Edit" align="Center" AllowEditing="True" />
				<ca:gridcolumn columntype="CheckBox" datafield="Delete" headingtext="ResourceManager.CP_PermissionList_Delete" align="Center" AllowEditing="True" />
				<ca:gridcolumn columntype="CheckBox" datafield="CreatePoll" headingtext="ResourceManager.CP_PermissionList_CreatePoll" align="Center" AllowEditing="True" />
				<ca:gridcolumn columntype="CheckBox" datafield="MarkAsAnswer" headingtext="ResourceManager.CP_PermissionList_MarkAsAnswer" align="Center" AllowEditing="True" />
				<ca:gridcolumn columntype="CheckBox" datafield="Sticky" headingtext="ResourceManager.CP_PermissionList_Sticky" align="Center" AllowEditing="True" />
				<ca:gridcolumn columntype="CheckBox" datafield="Announcement" headingtext="ResourceManager.CP_PermissionList_Announcement" align="Center" AllowEditing="True" />
				<ca:gridcolumn columntype="CheckBox" datafield="EditOthers" headingtext="ResourceManager.CP_PermissionList_EditOthers" align="Center" AllowEditing="True" />
				<ca:gridcolumn columntype="CheckBox" datafield="Moderate" headingtext="ResourceManager.CP_PermissionList_Moderate" align="Center" AllowEditing="True" />
				<ca:gridcolumn datafield="RoleIDString" visible="False" />
			</columns>
		</ca:gridlevel>
	</levels>
</ca:grid>
</div>
